platform :ios, '9.0'

workspace 'LongRange'

target 'LongRange' do
  project 'app/app.xcodeproj'

  pod 'React', :path => '../node_modules/react-native', :subspecs => [
    'Core',
    'CxxBridge', 
    'DevSupport', 
    'RCTText',
    'RCTNetwork',
    'RCTWebSocket', 
    'RCTAnimation', 

    'BatchedBridge',
    'RCTActionSheet',
    'RCTImage',
    'RCTLinkingIOS',

  ]
  
  
  pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'

  pod 'JPushRN', :path => '../node_modules/jpush-react-native'
  pod 'JCoreRN', :path => '../node_modules/jcore-react-native'
  
  pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
  pod 'GLog', :podspec => '../node_modules/react-native/third-party-podspecs/GLog.podspec'
  pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'

  pod 'RNSound', :path => '../node_modules/react-native-sound'

end

target 'JitsiMeet' do
  project 'sdk/sdk.xcodeproj'

  pod 'React', :path => '../node_modules/react-native', :subspecs => [
    'CxxBridge', 

    'Core',
    'BatchedBridge',
    'DevSupport',
    'RCTActionSheet',
    'RCTAnimation',
    'RCTImage',
    'RCTLinkingIOS',
    'RCTNetwork',
    'RCTText',
    'RCTWebSocket',
  ]


  pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'

  pod 'JPushRN', :path => '../node_modules/jpush-react-native'
  pod 'JCoreRN', :path => '../node_modules/jcore-react-native'

  pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
  pod 'GLog', :podspec => '../node_modules/react-native/third-party-podspecs/GLog.podspec'
  pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'

  pod 'react-native-background-timer',
    :path => '../node_modules/react-native-background-timer'
  pod 'react-native-fetch-blob',
    :path => '../node_modules/react-native-fetch-blob'
  pod 'react-native-keep-awake',
    :path => '../node_modules/react-native-keep-awake'
  pod 'react-native-locale-detector',
    :path => '../node_modules/react-native-locale-detector'
  pod 'react-native-webrtc', :path => '../node_modules/react-native-webrtc'
  pod 'RNSound', :path => '../node_modules/react-native-sound'
  pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'
  pod 'react-native-calendar-events',
    :path => '../node_modules/react-native-calendar-events'
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['ENABLE_BITCODE'] = 'NO'
    end
  end
end
